<template>
  <div class="child-page">
    <div> 儿子组件</div>
    <Son v-bind="$attrs" />
  </div>
</template>
<script setup lang="ts" name="attrsChild">
import { ref } from 'vue';
import Son from './son.vue';

</script>
<style  scoped>
.child-page{
  padding: 20px 50px;
  background: green;
  color: #fff;
}
</style>
